<%-- 
    Document   : consulta
    Created on : 21/09/2012, 17:26:52
    Author     : jonas
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <link rel="stylesheet" href="<c:url value="/WebContent/css/jquery-ui-1.8.23.custom.css"/>" type="text/css"/>
        <script src="<c:url value="/WebContent/js/jquery-1.8.0.min.js"/>" type="text/javascript"></script>
        <script src="<c:url value="/WebContent/js/jquery-ui-1.8.23.custom.min.js"/>" type="text/javascript"></script>
        <script type="text/javascript">
            
        </script>
        <link rel="stylesheet" href="<c:url value="/WebContent/css/style.css"/>" type="text/css"/>
        <title>Colaborador</title>
    </head>
    <body> 
        <div id="colaboradores" class="div_celula">
            Colaborador
        </div>
        <a href="<c:url value="javascript:history.go(-1)"/>">
            <div class="div_bot_voltar">
                Voltar
            </div>
        </a>
        <a href="<c:url value="/principal"/>">
            <div class="div_bot_home">            
                Home
            </div>
        </a>

        <div class="package-page">
            <div>
                <ul>
                    <li><a href="novo">Novo</a></li>
                    <li><a href="">Filtro</a></li>
                    <li><a href="">Imprimir</a></li>
                    <li><a href="">Exportar</a></li>
                   

                </ul>
            </div>
            </br>
            <table border="0" width="100%">
                <thead>
                    <tr>
                        <th>Nome</th>
                        <th>Setor</th>
                    </tr>
                </thead>
                <tbody>
                    <c:forEach items="${colaboradorList}" var="colaborador">
                        <tr>
                            <td><a href="informar/${colaborador.id}">${colaborador.nome}</a></td>
                            <td>${colaborador.setor.descricao}</td>
                        </tr>
                    </c:forEach>
                </tbody>
            </table>
        </div>
    </body>
</html>
